<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>设置-个人信息</title>
     <link rel="icon" href="${pageContext.request.contextPath}/resources/img/favicon.ico">

    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/css/all.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/css/pages-seckillOrder.css" />
</head>

<body>
    <!-- 头部栏位 -->
    <!--页面顶部-->
<div id="nav-bottom">
	<!--顶部-->
	<div class="nav-top">
		<div class="top">
			<div class="py-container">
				<div class="shortcut">
					<ul class="fl">
						<li class="f-item">宅客欢迎您！</li>
						<li class="f-item" >
							<c:if test="${not empty sessionScope.customer}">
                           <span>
                              ${sessionScope.customer.cname}
                              <a href="${pageContext.request.contextPath}/customer/logout">&nbsp;退出</a>
                           </span>
							</c:if>
							<c:if test="${empty sessionScope.customer}">
								请
								<span>
                           <a href="login.jsp" >登录</a>
                           </span>
							</c:if>

							<span>
                           <a href="register.jsp" >免费注册</a>
                        </span>
							<span><a href="${pageContext.request.contextPath}/index.jsp"
									 style="color: #2b2b2b">首页</a></span>
						</li>
					</ul>
					<div class="fr typelist">
							<ul class="types" style="margin-left: 390px;">
								<li class="f-item"><span><a href="center-index.jsp" style="color: #2b2b2b">我的订单</a></span></li>
								<li class="f-item"><span><a href="cart.html"  style="color: #2b2b2b">我的购物车</a></span></li>
								<li class="f-item"><span><a href="center-index.jsp" style="color: #2b2b2b">我的宅客</a></span></li>
							</ul>
					</div>
					
				</div>
			</div>
		</div>

		<!--头部-->
		<div class="header">
			<div class="py-container">
				<div class="yui3-g Logo">
					<div class="yui3-u Left logoArea">
						<a class="logo-bd" title="宅客" href="${pageContext.request.contextPath}/index.jsp" ></a>
					</div>
					<div class="yui3-u Rit searchArea">
						<div class="search">
							<form action="" class="sui-form form-inline">
								<!--searchAutoComplete-->
								<div class="input-append">
									<input type="text" id="autocomplete" class="input-error input-xxlarge" />
									<button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
								</div>
							</form>
						</div>
					</div>
					
				</div>

			</div>
		</div>
	</div>
</div>

    <!--header-->
    <div id="account">
        <div class="py-container">
            <div class="yui3-g home">
                <!--左侧列表-->
				<div class="yui3-u-1-6 list">

					<div class="person-info">
						<div class="person-photo"><img src="${pageContext.request.contextPath}/resources/img/_/photo.png" alt=""></div>
						<div class="person-account">
							<span class="name">zs</span>
							<span class="safe">账户安全</span>
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="list-items">
						<dl>
							<dt><i>·</i> 订单中心</dt>
							<dd ><a href="#" class="list-active" style="color: #2b2b2b">我的订单</a></dd>
						</dl>
						<dl>
							<dt><i>·</i> 设置</dt>
							<dd><a href="#">个人信息</a></dd>
							<dd><a href="${pageContext.request.contextPath}/center/address"  >地址管理</a></dd>
							<dd><a href="#" >安全管理</a></dd>
						</dl>
					</div>
				</div>
                <!--右侧主内容-->
                <div class="yui3-u-5-6">
                    <div class="body userAddress">
                        <div class="address-title">
                            <span class="title">地址管理</span>
                            <span class="clearfix"></span>
                        </div>
                        <div class="address-detail">
							<div id="table">
								<form action="${pageContext.request.contextPath}/center/update"  method="post" id="myform">
									<input type="hidden" name="customerid" value="${address.customerid}">
									<input type="hidden" name="addressid" value="${address.addressid}">
									<table>
										<tr>
											<td class="one">姓名</td>
											<td><input type="text" name="cnee" class="two" value="${address.cnee}"></td>
										</tr>
										<tr>
											<td class="one">地址信息</td>
											<td><input type="text" name="address" class="two" value="${address.address}"></td>
										</tr>
										<tr>
											<td class="one">电话号码</td>
											<td><input type="text" name="phone" class="two" value="${address.phone}"></td>
										</tr>
										<tr>
											<td colspan="2">
												<input type="submit" value="提交" class="btn btn-success">
											</td>
										</tr>
									</table>
								</form>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部栏位 -->
    <!--页面底部-->
<div class="clearfix footer">
	<div class="py-container">
		<div class="footlink">

			<div class="Mod-copyright">
				<ul class="helpLink">
					<li>关于我们<span class="space"></span></li>
					<li>联系我们<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>商家入驻<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们</li>
				</ul>


			</div>
		</div>
	</div>
</div>
<!--页面底部END-->
    





</body>

</html>